<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <input type="text" value="" v-model="user.name"/>
        {{user.name}}哈哈{{user.sex}}
        <select v-model="selected">
            <option value="">请选择学校</option>
            <option value="a">学校A</option>
            <option value="b">学校B</option>
        </select>
        <div>
            <div style="display: inline-block;">性别</div>
            <div>
                <label for="man">男：</label>
                <input id="man" type="radio" v-model="user.sex" value="man" name="sex">
                <label for="woman">女：</label>
                <input id="woman" type="radio" v-model="user.sex" value="woman" name="sex">
            </div>
        </div>
    </div>
    <script src="vm.js"></script>
    <script>
        let vm = new Vue({
            el:'#app'
            ,data:{
                user:{
                    name:'杨文宇'
                    ,sex:'man'
                }
                ,selected:'a'
            }
        })
    </script>
</body>
</html>